

class htest():
    def calculate(self):
        return 0
    
    def name(self):
        return "lab2"

class htestc(htest):
    def calculate(self):
            return 100

if __name__ == '__main__':
    test = htest()
    print test.calculate()
    test2 = htestc()
    print test2.calculate()
    print test2.name();